package edu.ucsd.ccdb.generalDataType;

public class TagDataValue {
	private DataValue data;
	private String name;
	
	public TagDataValue( DataValue data, String name ) {
		this.data = data;
		this.name = name;
	}
	
	public String toString () {
		return "(" + name + "," + data.displayBothNames() + ")";
	}
	
	public DataValue getData() {
		return data;
	}

	public String getName() {
		return name;
	}
}
